package co.yixiang.yshop.module.crm.controller.admin.crmworkwxcustomer.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import co.yixiang.yshop.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static co.yixiang.yshop.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 企业微信客户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CrmWorkWxCustomerPageReqVO extends PageParam {

    @Schema(description = "企业ID", example = "26697")
    private String corpId;

    @Schema(description = "外部联系人的userid", example = "24235")
    private String externalUserid;

    @Schema(description = "外部联系人的名称", example = "赵六")
    private String name;

    @Schema(description = "外部联系人头像")
    private String avatar;

    @Schema(description = "微信unionid", example = "1844")
    private String unionid;

    @Schema(description = "企业负责该联系人成员")
    private String followUser;

    @Schema(description = "企业的主体名称", example = "yshop")
    private String corpFullName;

    @Schema(description = "企业的简称", example = "赵六")
    private String corpName;

    @Schema(description = "类型，1微信用户，2企业微信用户", example = "2")
    private Integer type;

    @Schema(description = "性别 0-未知 1-男性 2-女性")
    private Integer gender;

    @Schema(description = "状态", example = "2")
    private String status;

    @Schema(description = "权重")
    private Integer weigh;

    @Schema(description = "关联本地客户联系人ID", example = "7242")
    private Long customerId;

    @Schema(description = "添加时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}